{if $full_page}

{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}

<form method="post" action="" name="listForm">

<div class="list-div" id="listDiv">
{/if}

<table width="100%" cellpadding="3" cellspacing="1" id="listTable">
  <tr>
    <th>{$lang.group_name}</th>
    <th>{$lang.bind_goods}</th>
    <th>{$lang.handler}</th>
  </tr>
  {foreach from=$collection item=collect}
  <tr>
    <td class="first-cell">{$collect.name}</td>
    
    <td align="center">{$collect.goods}</td>
    <td align="center">
      <a href="goods_group.php?act=edit&collect_id={$collect.id}" title="{$lang.edit}">{$lang.edit}</a> |
      <a href="javascript:;" onclick="listTable.remove({$collect.id}, '{$lang.drop_confirm}')" title="{$lang.remove}">{$lang.remove}</a>
    </td>
  </tr>
  {foreachelse}
    <tr><td class="no-records" colspan="10">{$lang.no_records}</td></tr>
    {/foreach}
    <tr>
      <td align="right" nowrap="true" colspan="6">
      {include file="page.htm"}
      </td>
    </tr>
  </table>

{if $full_page}
</div>

</form>

<script type="text/javascript" language="JavaScript">
listTable.recordCount = {$record_count};
listTable.pageCount = {$page_count};

{foreach from=$filter item=item key=key}
listTable.filter.{$key} = '{$item}';
{/foreach}
{literal}
onload = function()
{
    
    startCheckOrder();
   
}
{/literal}
</script>


{include file="pagefooter.htm"}

{/if}